<?php
require_once '../requires.php';

$cfg = array(
	'handler' => 'File',
);
Session::start($cfg);
var_dump(Session::sess('var'));

Session::sess('var', null);
var_dump(Session::sess('var'));

var_dump(Session::sess('ref'));

var_dump(unserialize(Session::sess('res')));

class A {
	public $name;
	public $a;
	public function __construct() {
		$this->name = 'yulin';
		$this->a = $this;
	}
}
var_dump(unserialize(Session::sess('a'))->a);

Session::end();
?>